﻿// Games.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
//

#include <iostream>
#include <cmath>
#include <Eigen/Core>
#include <Eigen/Dense>

using namespace std;
using namespace Eigen;

int main()
{
    int a = 1.0, b = 2.0;
    cout << "a = " << a << " b = " << b << endl;
    cout << "a / b = " << float(a / b) << endl;
    cout << " sqrt a = " << sqrt(a) << endl;

    Vector3f v = Vector3f(1.0f, 2.0f, 3.0f);
    Vector3f w = Vector3f(3.0f, 5.0f, 8.0f);
    cout << v << endl;
    cout << "w = " << w << endl;
    cout << " v + w  = " << v + w << endl;
     

    cout << "Hello World!\n";
    return 0;
}